﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DDD4Fun.Bridge
{
    //对抽象类的实现
    public class ClassicScoreRecorder:ScoreRecorder
    {
        public ClassicScoreRecorder(Operator impl)
            : base(impl)
        {
        }

        public override void Work3()
        {
            Console.WriteLine(this._impl.add());
            
        }
        
    }
}
